package com.atguigu.common.exception;

public enum  BizCodeEnume {
    UNKNOW_EXCEPTION(10000,"未知异常"),
    VALID_EXCEPTION(10001,"参数校验异常");
    int code;
    String message;
    BizCodeEnume(int code,String message){
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
